package c.e.a.b.f.b;

import c.e.a.b.e.c.v8;
import com.google.android.gms.measurement.internal.zzn;
import java.util.concurrent.Callable;

/* compiled from: com.google.android.gms:play-services-measurement@@18.0.0 */
public final class o9 implements Callable<String> {
    public final /* synthetic */ zzn a;
    public final /* synthetic */ k9 b;

    public o9(k9 k9Var, zzn zzn) {
        this.b = k9Var;
        this.a = zzn;
    }

    public final Object call() throws Exception {
        if (!v8.a() || !this.b.j.g.o(p.J0) || (this.b.c(this.a.a).k() && d.b(this.a.w).k())) {
            return this.b.G(this.a).s();
        }
        this.b.d().n.a("Analytics storage consent denied. Returning null app instance id");
        return null;
    }
}
